package com.simsuni.app.editor;

import org.eclipse.gef.EditPart;
import org.eclipse.gef.EditPartFactory;

import com.simsuni.core.SimEntity;

public class SimModelEditPartFactory implements EditPartFactory {

	//@Override
	public EditPart createEditPart(EditPart context, Object model) {
	    EditPart part = null;

	    if (model instanceof SimEntity){
	    	part = new S();
	    }
	    if (part != null)
	      part.setModel(model);

	    return part;
	 }

}
